package WORKPLACE;

import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class test014_webAPI {

	public static String GetTimestamp(){
    	//"2017-12-10 15:52:10";
    	String timestamp=new String();
    	SimpleDateFormat t = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss SSS");
    	timestamp=""+t.format(new Date());
    	return timestamp;
    }

	static m_orderNo kk;
	public static void main(String[] args) {
		URLapi aa=new URLapi();
		aa.RESTInvoker("http://timor.tech", "","");
		String str=aa.getDataFromServer("/api/holiday/year/2022-10");
		System.out.println(str);
		
	}


}
